<!--最上侧工具条开始-->
<style>
    .sn-quick-menu .layui-nav{background-color: transparent;}
    .sn-quick-menu .layui-nav .layui-nav-item{line-height: inherit;}
    .sn-quick-menu .layui-nav .layui-nav-item a{color: rgba(36, 34, 34, 0.7);}
    .sn-quick-menu .layui-nav .layui-nav-item a:hover{color: rgba(36, 34, 34, 0.7);}
    .sn-quick-menu .layui-nav-bar{background-color: transparent;}
    .sn-quick-menu .layui-nav .layui-nav-more{border-top-color:rgba(36, 34, 34, 0.7);}
    .sn-quick-menu .layui-nav .layui-nav-mored{border-color:transparent transparent rgba(36, 34, 34, 0.7) !important;}
    .sn-quick-menu .layui-nav .layui-this:after{background-color: transparent;}
</style>
<div class="site-nav-bg">
    <div class="site-nav w1200">
        <p class="sn-back-home">
            <i class="layui-icon layui-icon-home"></i>
            <a class="main-nav-tab tab-other" href="javascript:;" data-url="/mall/home">首页</a>
        </p>
        <div class="sn-quick-menu">
            <ul class="layui-nav" lay-filter="">
                <li class="layui-nav-item lay-unselect">
                    @if(isEmpty(shiro.getUser().name)){
                    <a href="${ctxPath}/login">登录</a>
                    @}else{
                    <a href="#">${shiro.getUser().name}</a>
                    <dl class="layui-nav-child"> <!-- 二级菜单 -->
                        <dd><a href="${ctxPath}/mgr/user_info">个人资料</a></dd>
                        <dd><a href="${ctxPath}/mgr/user_chpwd">修改密码</a></dd>
                        <dd><a href="${ctxPath}/logout">退出</a></dd>
                    </dl>
                    @}
                </li>
                <li class="layui-nav-item lay-unselect"><a href="/mall/order" target="iframe0">我的订单</a></li>
                <li class="layui-nav-item lay-unselect"><a href="/mall/shopcart" target="iframe0">购物车</a></li>

            </ul>
        </div>
    </div>
</div>
<!--最上侧工具条结束-->
<!--搜索栏开始-->
<div class="header">
    <div class="headerLayout w1200">
        <div class="headerCon">
            <h1 class="mallLogo">
                <a class="main-nav-tab tab-other" href="#" data-url="/mall/home" title="母婴商城">
                    <img src="${ctxPath}/static/img/mall/logo.png">
                </a>
            </h1>
            <div class="mallSearch">
                <form action="/mall/search" target="iframe0" class="layui-form" novalidate>
                    <input type="text" name="mername" required  lay-verify="required" autocomplete="off" class="layui-input" placeholder="请输入需要的商品">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">
                        <i class="layui-icon layui-icon-search"></i>
                    </button>
                    <input type="hidden" name="" value="">
                </form>
            </div>
        </div>
    </div>
</div>

<!--搜索栏结束-->